package com.iaiai.cobra.repository.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.Date;

/**
 * Created with Role.
 * Package: com.iaiai.cobra.repository.bean
 * Author: iaiai
 * Create Time: 2024/6/24 20:33
 * QQ: 176291935
 * Email: 176291935@qq.com
 * Description:
 */
@Data
public class Role {

    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    private String name;    //角色名

    private String remark;    //备注

    private Integer seq;    //顺序

    @TableField("`disabled`")
    private Integer disabled; //是否禁用，0未禁用，1已禁用

    private Integer del;    //删除，0未删除，1已删除

    private Date createTime;    //创建时间

    private Date modifyTime;    //最后修改时间

}
